input geometriesyr12;
input outilssyr;
input constantes;
%----------------------------------------------------------------------------
%  figure 1
%----------------------------------------------------------------------------

u:=1cm;
figure (-1u,-1u,12u,5u);
pair A,B,C,D,E,F,G,H,I,J;

A=(0u,3u);
B=(3u,4u);
C=(5u,4u);
D=(10u,4u);
E=(2u,2u);
F=(4u,2u);
G=(6u,3u);
H=(9.5u,1u);
I=(2.5u,0u);
J=(8u,0u);

draw A--B;
draw C--D;
draw E--F;
draw G--H;
draw I--J;

marque_p:="croix";
labeloffset:=labeloffset*2;
nomme.top(A);
nomme.top(B);
nomme.top(C);
nomme.top(D);
nomme.top(E);
nomme.top(F);
nomme.top(G);
nomme.top(H);
nomme.top(I);
nomme.top(J);
labeloffset:=labeloffset/2;
fin;

%----------------------------------------------------------------------------
% figure 2
%----------------------------------------------------------------------------

u:=1cm;
figure (-1u,-1u,12u,5u);
pair A,B,C,D,E,F,G,H,I,J;

A=(0u,3u);
B=(3u,4u);
C=(5u,4u);
D=(10u,4u);
E=(2u,2u);
F=(4u,2u);
G=(6u,3u);
H=(9.5u,1u);
I=(2.5u,0u);
J=(8u,0u);

draw A--B;
draw C--D;
draw E--F;
draw G--H;
draw I--J;

marque_p:="croix";
labeloffset:=labeloffset*2;
nomme.top(A);
nomme.top(B);
nomme.top(C);
nomme.top(D);
nomme.top(E);
nomme.top(F);
nomme.top(G);
nomme.top(H);
nomme.top(I);
nomme.top(J);
labeloffset:=labeloffset/2;
fin;

end